package xin.nick.persistence.core.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Nick
 * @date 2021/5/5
 * @description SQL 参数绑定信息
 */
public class BoundSql {

    /**
     * 对应的sql语句(解析后)
     */
    private String sqlText;

    /**
     * 参数列表,用于传入查询的
     */
    private List<ParameterMapping> parameterMappingList = new ArrayList<>();

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
